test_interface_sources = [
  '../../../../main.cpp',
  'test_interface.cpp',
  '../../../../../drivers/pcie_gpu_card/innosilicon/interface/gpu.cpp',
  '../../../../../drivers/pcie_gpu_card/innosilicon/interface/memory.cpp',
  '../../../../../drivers/pcie_gpu_card/innosilicon/interface/pcie_card.cpp',
  '../../../../../drivers/pcie_gpu_card/innosilicon/interface/pcie_device.cpp',
  '../../../../../drivers/pcie_gpu_card/innosilicon/interface/processor.cpp',
]

incs = [
  include_directories('.'),
  include_directories('../../..'),
  include_directories('../../../../../drivers'),
  include_directories('../../../../../include'),
  include_directories('../../../../../gen'),
  include_directories('../../../../../drivers/pcie_gpu_card'),
  include_directories('../../../../../drivers/pcie_gpu_card/innosilicon'),
]

test_interface = executable(
  'test_pcie_gpu_card_interface',
  test_interface_sources,
  include_directories: incs,
  dependencies: [
    gtest_dep,
    test_utilities_dep,
    libmcpp_deps,
    dev_deps,
  ],
  install: false,
)

test('test_pcie_gpu_card_interface', test_interface, timeout: 180, suite: 'pcie_gpu_card')
